using Volo.Abp.Application.Dtos;

namespace UserManagementService.DTOs;

/// <summary>
/// 搜索组织DTO
/// </summary>
public class SearchOrganizationsDto : PagedAndSortedResultRequestDto
{
    /// <summary>
    /// 组织名称关键字
    /// </summary>
    public string Keyword { get; set; }

    /// <summary>
    /// 父组织ID
    /// </summary>
    public Guid? ParentId { get; set; }

    /// <summary>
    /// 是否启用
    /// </summary>
    public bool? IsEnabled { get; set; }

    /// <summary>
    /// 组织代码
    /// </summary>
    public string Code { get; set; }

    /// <summary>
    /// 包含子组织
    /// </summary>
    public bool IncludeChildren { get; set; } = true;
}